//
//  ShellMilestoneModel.m
//  ShellWallert
//
//  Created by lvzhao on 2019/10/3.
//  Copyright © 2019 VV. All rights reserved.
//

#import "ShellMilestoneModel.h"

@implementation ShellMilestoneModel

- (void)mj_keyValuesDidFinishConvertingToObject:(NSDictionary *)keyValues{
    NSString *milestoneString = [NSString stringWithFormat:@"%@ %@",self.time ?:@"",self.desc ?:@""];
    self.milestoneHeight = [milestoneString lz_textHeightWithFontSize:k_textFont(12) withMaxWidth:K_SCREENWIDTH - 30 - 40 - 30];
    self.celleHeight = self.milestoneHeight + 30;
}

@end
